<?php
Class ModelException extends Exception
{
	public function __construct($message = null, $sql=null, $agrs=null, $code = null, $previous = null){
		parent::__construct($message, $code, $previous);
		echo $sql;
	}
}
?>
